/*  1:   */ package org.jetbrains.ide;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.application.ApplicationManager;
import org.jetbrains.annotations.NotNull;

import java.util.concurrent.Executor;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ public final class PooledThreadExecutor
/*  9:   */   implements Executor
/* 10:   */ {
/* 11: 9 */   public static final PooledThreadExecutor INSTANCE = new PooledThreadExecutor();
/* 12:   */   
/* 13:   */   public void execute(@NotNull Runnable paramRunnable)
/* 14:   */   {
/* 15:16 */     if (paramRunnable == null) {
/* 16:16 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/ide/PooledThreadExecutor", "execute" }));
/* 17:   */     }
/* 18:16 */     ApplicationManager.getApplication().executeOnPooledThread(paramRunnable);
/* 19:   */   }
/* 20:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.ide.PooledThreadExecutor

 * JD-Core Version:    0.7.0.1

 */